-- GENERATED SPELL FOR [Frostbrood Sentry] --


function spell0_31721(pUnit, Event) --@Bitter Blast,n/a--
pUnit:FullCastSpellOnTarget(60542,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_31721', 2000, 1)
end

function Sorts_31721(pUnit, Event)
local choix_sorts_31721 = math.random(0, 0)
if choix_sorts_31721 == 0 then
pUnit:RegisterEvent('spell0_31721', 1, 1)
end
end

function mob31721_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_31721', math.random(1500, 3000), 1)
end

function mob31721_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob31721_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob31721_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(31721, 1, 'mob31721_Action')
RegisterUnitEvent(31721, 2, 'mob31721_Leave')
RegisterUnitEvent(31721, 3, 'mob31721_Kill')
RegisterUnitEvent(31721, 4, 'mob31721_Die')
